<%@ include file="../layouts/_header.jsp"%>
<%@ page language="java" pageEncoding="UTF-8"%>

<%@ include file="../layouts/message.jsp" %>
<form id="list_form">
<table border="0" cellspacing="0" cellpadding="0" class="listTable">
	<tr>
		<th><input type="checkbox" id="items_checkbox" onclick="j(':checkbox').attr('checked',this.checked);"/></th>
		<th>ContextPath</th>
		<th>Name</th>
		<th>Version</th>
		<th>Operation</th>
	</tr>
	<c:forEach var="service" items="${pageResult.list}">
		<tr id="item_${service.id}">
			<td><input type="checkbox" id="item_checkbox_${service.id}" name="ids" value="${service.id}"/></td>
			<td>${service.contextPath}</td>
			<td>${service.name}</td>
			<td>${service.version}</td>
			<td>
 			<a href="#"onclick="javascript:<j:jsw controller="service" action="_show" id="${service.id}" wid="show_service" title="View Service"/>">
				<fmt:message key="form.button.show" /></a> 
			<a href="#" onclick="javascript:<j:jsw controller="service" action="_edit" id="${service.id}" wid="edit_service" title="Edit Service"/>">
				<fmt:message key="form.button.edit" /></a> 
			<a href="#"
				onclick="javascript:j.window({id:'delete_confirm_${service.id}',content:_delete_message,confirm:true,width:'400px',height:'30px',callback:deleteItem,args:'${service.id}'}).show();"><fmt:message
				key="form.button.delete" /></a>
			</td>
		</tr>
	</c:forEach>
	<tr>
		<td colspan="4" align="right">
			<%@ include file="../layouts/pageNavigator.jsp"%>
		</td>
	</tr>
</table>
</form>
